<?php
define('WP_USE_THEMES', true);

global $more_article;

$blog='NULL';
$blogdata='NULL';
$optiondomain = 'system';
$_REQUEST['b']='system';

require('private.php');
require(CONFIGPATH . 'wp-config.php');
require_once( ABSPATH . WPINC . '/registration-functions.php');

require('portal.lib');

$time_begin=date("u");


get_currentuserinfo();
$SITE_TITLE = get_settings('site_title');


if($_GET["CAT_NAME"]){
		$line->cat_name=urldecode($_GET["CAT_NAME"]);
		$line->cat_name=stripslashes($line->cat_name);
		$catalog[0]=$line;
		$record_num=30;	
		$more_article=1;
}
if($_GET["more_hot"]){
		$more_article=1;
}

$more_article=1;


?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="shortcut icon" href="/blogs/xys/favicon.ico" type="image/x-icon" />
<title><?php echo $SITE_TITLE ?>(Beta)</title>

<link rel="stylesheet" href="<?php echo WEBROOT ?>/wp-content/portal/style.css" type="text/css" media="screen" />

<style type="text/css" media="screen">
</style>
</head>
<body>

<?php require("portal_header.php"); ?>
<!--
<div id="cat_list">
<ul>
<li>CATALOG :
<?php
        show_hot(100);
        $all_catalog=get_cat_list();
        $record_num=0;
        $only_cat_name=1;
        $cat_str = show_cat($all_catalog,$record_num,0,$only_cat_name);
//        echo $cat_str;
?>
</ul>
</div>
-->

<br>

<div id="read-me">

<!--
 <h2 align=center> &nbsp;
<a href="show_hot.php"> 热点专辑 </a>
 </h2>

-->

<?php
	//$line->cat_name="Earthquake"; $line->cat_id="10775"; $catalog[0]=$line;
    	echo show_hot(6, 0, $_GET["cat_id"]);
?>

<?php require("portal_bottom.html"); ?>


</body>
</html>
